// Tests.Build.Settings.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"


int main(int, char*[])
{
    std::array<int, 5> t_a = {
        45, 3, 17, 12, 42
    };

    const std::array<int, 5> t_exp_a = {
        3, 12, 17, 42, 45
    };
    tests_library::sort(&t_a[0], &t_a[t_a.size() - 1] + 1);

    if (std::equal(t_a.begin(), t_a.end(), t_exp_a.begin())) {
        
        std::copy(t_a.begin(), t_a.end(),
            std::ostream_iterator<int>(std::cout, ", "));
        std::cout << "-> OK" << std::endl;
    } else {
        std::cout << "Failed" << std::endl;
    }
}

